var foo = (bar = 2);
var foo = true;
var foo,
  bar = 5,
  baz = 3;

function foo() {
  var foo;
  var bar = foo;
};

namespace myLib {
  let numberOfGreetings: number = 2;
};

let a = 1;

function foo() {
  let a = 'foo',
    b;
  if (a) {
    let c, d;
  }
};

function foo() {
  let a;
  const b = false;
  var c = 1;
};

for (var i = 0; i < 1; i++) {};

function foo() {
  var bar;
};
let arr: string = function () {};
let arr: string[] = ['arr', 'ar'];

const class1 = class NAME {
  constructor() {
    var name1: string = 'hello';
  }
};
let arr: string;
declare var foo: number = 'asd';